test:fileReader.o test.o lex.o parser.o variable.o runtimeError.o interpreter.o statement.o expression.o environment.o
	g++ -o test test.o fileReader.o lex.o parser.o variable.o runtimeError.o interpreter.o statement.o expression.o environment.o

lex.o:lex.cpp
	g++ -c lex.cpp

fileReader.o:fileReader.cpp
	g++ -c fileReader.cpp

test.o:test.cpp
	g++ -c test.cpp

parser.o:parser.cpp
	g++ -c parser.cpp

variable.o:variable.cpp
	g++ -c variable.cpp

runtimeError.o:runtimeError.cpp
	g++ -c runtimeError.cpp

interpreter.o:interpreter.cpp
	g++ -c interpreter.cpp

statement.o:statement.cpp
	g++ -c statement.cpp

expression.o:expression.cpp
	g++ -c expression.cpp

environment.o:environment.cpp
	g++ -c environment.cpp